package com.gamex.findit.battle;

/**
 * 
 * @author james
 *
 */
public class User {
	
	private String id;
	private String nickName;
	private String state;
	private int channelId;
	
	public int getChannelId() {
		return channelId;
	}
	public User setChannelId(int channelId) {
		this.channelId = channelId;
		return this;
	}
	public String getId() {
		return id;
	}
	public User setId(String id) {
		this.id = id;
		return this;
	}
	public String getNickName() {
		return nickName;
	}
	public User setNickName(String nickName) {
		this.nickName = nickName;
		return this;
	}
	public String getState() {
		return state;
	}
	public User setState(String state) {
		this.state = state;
		return this;
	}
	
	@Override
	public String toString() {
		return "User [" + (id != null ? "id=" + id + ", " : "")
				+ (nickName != null ? "nickName=" + nickName + ", " : "")
				+ (state != null ? "state=" + state + ", " : "") + "channelId="
				+ channelId + "]";
	}


	

}
